<!DOCTYPE html>
<!-- saved from url=(0031) -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>规则文档</title>
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/png" href="http://mockjs.com/assets/img/logo-2.svg">
    <link href="./Mock.js_files/index.css" rel="stylesheet">
    <!-- https://www.uservoice.com/ -->
	<link type="text/css" rel="stylesheet" href="./Mock.js_files/bootstrap.min.css">
	<link type="text/css" rel="stylesheet" href="./Mock.js_files/components.css">
	<link type="text/css" rel="stylesheet" href="./Mock.js_files/parsley.css">
	<link type="text/css" rel="stylesheet" href="./Mock.js_files/minecraft.css">
	<link type="text/css" rel="stylesheet" href="./Mock.js_files/animate-min.css">
	</head>
<body>
    <div class="container" style="padding: 20px; margin-bottom: 20px;">
        <span class="fontsize-20">示例</span>
        <!-- <h1>Examples: Syntax Specification</h1> -->
    </div>
    <script id="template" type="x-template">
        <div class="row">
            <div class="col-sm-2">
                <div class="mb10">
                    <a href="#DTD" class="fontsize-16" data-scroll>数据模板定义<!-- Data Template Definition, DTD --></a>
                </div>
                <ul class="catalog">
                    <li v-for="(type, item) in DTD">
                        <div><a href="#{{ type }}" data-scroll>{{ type }}</a></div>
                    </li>
                </ul>
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll>数据占位符定义 <!-- Data Placeholder Definition, DPD --></a>
                </div>
                <ul class="catalog">
                    <li v-for="(type, methods) in DPD">
                        <div class="mb10">
                            <a href="#{{ type }}">{{ type }}</a>
                        </div>
                        <div v-for="(method, demos) in methods">
                            <a href="#{{ method }}" data-scroll> {{ method.slice(7).split('(')[0] }} </a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-sm-10">

                <div id="DTD" class="fontsize-20 mb40">数据模板定义 <!-- Data Template Definition, DTD --></div>
                <div class="definition">
                    <div v-for="(type, signatures) in DTD" class="mb40">
                        <div id="{{ type }}" class="fontsize-16 mb40">{{ type }}</div>
                        <div v-for="(signature, demos) in signatures" class="mb20">
                            <div id=""{{ signature }}"" class="fontsize-14 mb20"><code>{{ signature }}</code></div>
                            <div v-for="(index, demo) in demos" class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({{ demo | json }})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{{ demo | mock | json }}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dtd', demo)"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="DPD" class="fontsize-20 mb40">数据占位符定义 <!-- Data Placeholder Definition, DPD --></div>
                <div class="definition">
                    <div v-for="(type, signatures) in DPD" class="mb20">
                        <div id="{{ type }}" class="fontsize-16 mb20">{{ type }}</div>
                        <div v-for="(signature, demos) in signatures" class="mb20">
                            <div id="{{ signature }}" class="fontsize-14 mb20"><code>{{ signature }}</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">{{ demos.join('\n') }}</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div v-if="signature === 'Random.dataImage( size?, text? )' || 
                                                signature === 'Random.image( size?, background?, foreground?, format?, text? )'">
                                            {{{ demos | examples.dpd.img }}}
                                        </div>
                                        <div v-else>
                                            <pre><code class="javascript">{{ demos | examples.dpd }}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dpd', demos)"></a>
                                        </div>
                                        <a href="javascript:;" class="mockicon rerun" v-on:click="rerun($event, 'dpd', demos)"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </script>
    <div id="examples" class="container definition"><div class="row">
            <div class="col-sm-2">
                <div class="mb10">
                    <a href="#DTD" class="fontsize-16" data-scroll="">数据模板定义<!-- Data Template Definition, DTD --></a>
                </div>
                <ul class="catalog">
                    <li>
                        <div><a data-scroll="" href="#String">String</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Number">Number</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Boolean">Boolean</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Object">Object</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Array">Array</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Function">Function</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#RegExp">RegExp</a></div>
                    </li><li>
                        <div><a data-scroll="" href="#Path">Path</a></div>
                    </li>
                </ul>
                <div class="mb10">
                    <a href="#DPD" class="fontsize-16" data-scroll="">数据占位符定义 <!-- Data Placeholder Definition, DPD --></a>
                </div>
                <ul class="catalog">
                    <li>
                        <div class="mb10">
                            <a href="#Basic">Basic</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.boolean(%20min?,%20max?,%20current?%20)"> boolean </a>
                        </div><div>
                            <a data-scroll="" href="#Random.natural(%20min?,%20max?%20)"> natural </a>
                        </div><div>
                            <a data-scroll="" href="#Random.integer(%20min?,%20max?%20)"> integer </a>
                        </div><div>
                            <a data-scroll="" href="#Random.float(%20min?,%20max?,%20dmin?,%20dmax?%20)"> float </a>
                        </div><div>
                            <a data-scroll="" href="#Random.character(%20pool?%20)"> character </a>
                        </div><div>
                            <a data-scroll="" href="#Random.string(%20pool?,%20min?,%20max?%20)"> string </a>
                        </div><div>
                            <a data-scroll="" href="#Random.range(start?,%20stop,%20step?)"> range </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Date">Date</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.date(%20format?%20)"> date </a>
                        </div><div>
                            <a data-scroll="" href="#Random.time(%20format?%20)"> time </a>
                        </div><div>
                            <a data-scroll="" href="#Random.datetime(%20format?%20)"> datetime </a>
                        </div><div>
                            <a data-scroll="" href="#Random.now(%20unit?,%20format?%20)"> now </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Image">Image</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.image(%20size?,%20background?,%20foreground?,%20format?,%20text?%20)"> image </a>
                        </div><div>
                            <a data-scroll="" href="#Random.dataImage(%20size?,%20text?%20)"> dataImage </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Color">Color</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.color()"> color </a>
                        </div><div>
                            <a data-scroll="" href="#Random.hex()"> hex </a>
                        </div><div>
                            <a data-scroll="" href="#Random.rgb()"> rgb </a>
                        </div><div>
                            <a data-scroll="" href="#Random.rgba()"> rgba </a>
                        </div><div>
                            <a data-scroll="" href="#Random.hsl()"> hsl </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Text">Text</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.paragraph(%20min?,%20max?%20)"> paragraph </a>
                        </div><div>
                            <a data-scroll="" href="#Random.sentence(%20min?,%20max?%20)"> sentence </a>
                        </div><div>
                            <a data-scroll="" href="#Random.word(%20min?,%20max?%20)"> word </a>
                        </div><div>
                            <a data-scroll="" href="#Random.title(%20min?,%20max?%20)"> title </a>
                        </div><div>
                            <a data-scroll="" href="#Random.cparagraph(%20min?,%20max?%20)"> cparagraph </a>
                        </div><div>
                            <a data-scroll="" href="#Random.csentence(%20min?,%20max?%20)"> csentence </a>
                        </div><div>
                            <a data-scroll="" href="#Random.cword(%20pool?,%20min?,%20max?%20)"> cword </a>
                        </div><div>
                            <a data-scroll="" href="#Random.ctitle(%20min?,%20max?%20)"> ctitle </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Name">Name</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.first()"> first </a>
                        </div><div>
                            <a data-scroll="" href="#Random.last()"> last </a>
                        </div><div>
                            <a data-scroll="" href="#Random.name(%20middle?%20)"> name </a>
                        </div><div>
                            <a data-scroll="" href="#Random.cfirst()"> cfirst </a>
                        </div><div>
                            <a data-scroll="" href="#Random.clast()"> clast </a>
                        </div><div>
                            <a data-scroll="" href="#Random.cname()"> cname </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Web">Web</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.url()"> url </a>
                        </div><div>
                            <a data-scroll="" href="#Random.domain()"> domain </a>
                        </div><div>
                            <a data-scroll="" href="#Random.protocol()"> protocol </a>
                        </div><div>
                            <a data-scroll="" href="#Random.tld()"> tld </a>
                        </div><div>
                            <a data-scroll="" href="#Random.email()"> email </a>
                        </div><div>
                            <a data-scroll="" href="#Random.ip()"> ip </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Address">Address</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.region()"> region </a>
                        </div><div>
                            <a data-scroll="" href="#Random.province()"> province </a>
                        </div><div>
                            <a data-scroll="" href="#Random.city(%20prefix?%20)"> city </a>
                        </div><div>
                            <a data-scroll="" href="#Random.county(%20prefix?%20)"> county </a>
                        </div><div>
                            <a data-scroll="" href="#Random.zip()"> zip </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Helper">Helper</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.capitalize(%20word%20)"> capitalize </a>
                        </div><div>
                            <a data-scroll="" href="#Random.upper(%20str%20)"> upper </a>
                        </div><div>
                            <a data-scroll="" href="#Random.lower(%20str%20)"> lower </a>
                        </div><div>
                            <a data-scroll="" href="#Random.pick(%20arr%20)"> pick </a>
                        </div><div>
                            <a data-scroll="" href="#Random.shuffle(%20arr%20)"> shuffle </a>
                        </div>
                    </li><li>
                        <div class="mb10">
                            <a href="#Miscellaneous">Miscellaneous</a>
                        </div>
                        <div>
                            <a data-scroll="" href="#Random.guid()"> guid </a>
                        </div><div>
                            <a data-scroll="" href="#Random.id()"> id </a>
                        </div><div>
                            <a data-scroll="" href="#Random.increment(%20step?%20)"> increment </a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-sm-10">

                <div id="DTD" class="fontsize-20 mb40">数据模板定义 <!-- Data Template Definition, DTD --></div>
                <div class="definition">
                    <div class="mb40">
                        <div class="fontsize-16 mb40" id="String">String</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max': string</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "string|1-10": "★"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "string": "★★"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|count': string</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "string|3": "★★★"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "string": "★★★★★★★★★"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Number">Number</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|+1': number</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|+1": 202
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 201
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max': number</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|1-100": 100
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 94
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max.dmin-dmax': number</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|1-100.1-10": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 91.358255
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.1-10": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.2
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.3": 1
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.743
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "number|123.10": 1.123
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "number": 123.1232363667
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Boolean">Boolean</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|1': boolean</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "boolean|1": true
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "boolean": false
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max': boolean</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "boolean|1-2": true
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "boolean": false
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Object">Object</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|count': object</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "object|2": {
    "310000": "上海市",
    "320000": "江苏省",
    "330000": "浙江省",
    "340000": "安徽省"
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "object": {
    "320000": "江苏省",
    "330000": "浙江省"
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max': object</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "object|2-4": {
    "110000": "北京市",
    "120000": "天津市",
    "130000": "河北省",
    "140000": "山西省"
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "object": {
    "110000": "北京市",
    "120000": "天津市",
    "130000": "河北省"
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Array">Array</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|1': array</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1": [
    "AMD",
    "CMD",
    "UMD"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": "AMD"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|+1': array</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|+1": [
    "AMD",
    "CMD",
    "UMD"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": "AMD"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    {
      "name|+1": [
        "Hello",
        "Mock.js",
        "!"
      ]
    }
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    },
    {
      "name": "!"
    },
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    },
    {
      "name": "!"
    },
    {
      "name": "Hello"
    },
    {
      "name": "Mock.js"
    },
    {
      "name": "!"
    }
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|min-max': array</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    "Mock.js"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js",
    "Mock.js"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|1-10": [
    "Hello",
    "Mock.js",
    "!"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name|count': array</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|3": [
    "Mock.js"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Mock.js",
    "Mock.js",
    "Mock.js"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "array|3": [
    "Hello",
    "Mock.js",
    "!"
  ]
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "array": [
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!",
    "Hello",
    "Mock.js",
    "!"
  ]
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Function">Function</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name': function</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'foo': 'Syntax Demo',
  'name': function() {
    return this.foo
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Syntax Demo",
  "name": "Syntax Demo"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="RegExp">RegExp</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>'name': regexp</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /[a-z][A-Z][0-9]/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "fI4"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /\w\W\s\S\d\D/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "e%\fh5N"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp': /\d{5,10}/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "416431"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp|3': /\d{5,10}\-/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "4806317-81694-5117458873-4275474-"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div><div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  'regexp|1-5': /\d{5,10}\-/
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "regexp": "2983822548-9551747211-575580-227141-5988777-"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb40">
                        <div class="fontsize-16 mb40" id="Path">Path</div>
                        <div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>Absolute Path</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "absolutePath": "@/foo @/nested/a/b/c"
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "absolutePath": "Hello Mock.js"
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div id="" {{="" signature="" }}""="" class="fontsize-14 mb20"><code>Relative Path</code></div>
                            <div class="mb20">
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="code">
                                            <span class="badge">Data Template</span>
                                            <pre><code class="javascript">Mock.mock({
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "relativePath": {
    "a": {
      "b": {
        "c": "@../../../foo @../../../nested/a/b/c"
      }
    }
  }
})</code></pre>
                                        </div>
                                    </div>
                                    <div class="col-sm-6">
                                        <div class="result">
                                            <span class="badge">Result</span>
                                            <pre><code class="javascript">{
  "foo": "Hello",
  "nested": {
    "a": {
      "b": {
        "c": "Mock.js"
      }
    }
  },
  "relativePath": {
    "a": {
      "b": {
        "c": "Hello Mock.js"
      }
    }
  }
}</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="DPD" class="fontsize-20 mb40">数据占位符定义 <!-- Data Placeholder Definition, DPD --></div>
                <div class="definition">
                    <div class="mb20">
                        <div class="fontsize-16 mb20" id="Basic">Basic</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.boolean( min?, max?, current? )"><code>Random.boolean( min?, max?, current? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.boolean()
Random.boolean()
Mock.mock('@boolean')
Mock.mock('@boolean()')

// Random.boolean( min, max, current )
Random.boolean(1, 9, true)
Mock.mock('@boolean(1, 9, true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.boolean()
true
true
true

// Random.boolean( min, max, current )
false
false</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.natural( min?, max? )"><code>Random.natural( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.natural()
Random.natural()
Mock.mock('@natural')
Mock.mock('@natural()')

// Random.natural( min )
Random.natural(10000)
Mock.mock('@natural(10000)')

// Random.natural( min, max )
Random.natural(60, 100)
Mock.mock('@natural(60, 100)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.natural()
4700418530119848
7857538082821554
7386298508203948

// Random.natural( min )
3693212742110444
5053388956794094

// Random.natural( min, max )
99
65</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.integer( min?, max? )"><code>Random.integer( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.integer()
Random.integer()
Mock.mock('@integer')
Mock.mock('@integer()')

// Random.integer( min )
Random.integer(10000)
Mock.mock('@integer(10000)')

// Random.integer( min, max )
Random.integer(60, 100)
Mock.mock('@integer(60, 100)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.integer()
-1904002500806040
-1234519275202112
-8733873899577296

// Random.integer( min )
6976323615752133
8621309532260764

// Random.integer( min, max )
76
87</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.float( min?, max?, dmin?, dmax? )"><code>Random.float( min?, max?, dmin?, dmax? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.float()
Random.float()
Mock.mock('@float')
Mock.mock('@float()')

// Random.float( min )
Random.float(0)
Mock.mock('@float(0)')

// Random.float( min, max )
Random.float(60, 100)
Mock.mock('@float(60, 100)')

// Random.float( min, max, dmin )
Random.float(60, 100, 3)
Mock.mock('@float(60, 100, 3)')

// Random.float( min, max, dmin, dmax )
Random.float(60, 100, 3, 5)
Mock.mock('@float(60, 100, 3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.float()
-6332227314069705
-2036377410975152.5
2834628253524145

// Random.float( min )
1911700353826612.2
8440158503726778

// Random.float( min, max )
89.3452121385512
68.454

// Random.float( min, max, dmin )
67.46594475415
84.2482114

// Random.float( min, max, dmin, dmax )
85.33212
77.7154
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.character( pool? )"><code>Random.character( pool? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.character()
Random.character()
Mock.mock('@character')
Mock.mock('@character()')

// Random.character( 'lower/upper/number/symbol' )
Random.character('lower')
Random.character('upper')
Random.character('number')
Random.character('symbol')

Mock.mock('@character("lower")')
Mock.mock('@character("upper")')
Mock.mock('@character("number")')
Mock.mock('@character("symbol")')

// Random.character( pool )
Random.character('aeiou')
Mock.mock('@character("aeiou")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.character()
"C"
"q"
"1"

// Random.character( 'lower/upper/number/symbol' )
"p"
"J"
"9"
"$"

"w"
"B"
"6"
"^"

// Random.character( pool )
"o"
"i"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.string( pool?, min?, max? )"><code>Random.string( pool?, min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.string()
Random.string()
Mock.mock('@string')
Mock.mock('@string()')

// Random.string( length )
Random.string(5)
Mock.mock('@string(5)')

// Random.string( pool, length )
Random.string('lower', 5)
Random.string('upper', 5)
Random.string('number', 5)
Random.string('symbol', 5)
Random.string('aeiou', 5)

Mock.mock('@string("lower", 5)')
Mock.mock('@string("upper", 5)')
Mock.mock('@string("number", 5)')
Mock.mock('@string("symbol", 5)')
Mock.mock('@string("aeiou", 5)')

// Random.string( min, max )
Random.string(7, 10)
Mock.mock('@string(7, 10)')

// Random.string( pool, min, max )
Random.string('lower', 1, 3)
Random.string('upper', 1, 3)
Random.string('number', 1, 3)
Random.string('symbol', 1, 3)
Random.string('aeiou', 1, 3)

Mock.mock('@string("lower", 1, 3)')
Mock.mock('@string("upper", 1, 3)')
Mock.mock('@string("number", 1, 3)')
Mock.mock('@string("symbol", 1, 3)')
Mock.mock('@string("aeiou", 1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.string()
"Y)89"
"h$%"
"0ugP$^"

// Random.string( length )
"htdhS"
"1sssf"

// Random.string( pool, length )
"qtrjn"
"QWDIQ"
"29358"
")@!^&amp;"
"oooiu"

"kaxrw"
"EJMLW"
"85278"
")^^$*"
"aaoue"

// Random.string( min, max )
"RnAw3)$%5"
"CmrI]RRUm"

// Random.string( pool, min, max )
"ku"
"LY"
"948"
"&amp;"
"io"

"o"
"QM"
"52"
"["
"oe"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.range(start?, stop, step?)"><code>Random.range(start?, stop, step?)</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.range( stop )
Random.range(10)
Mock.mock('@range(10)')

// Random.range( start, stop )
Random.range(3, 7)
Mock.mock('@range(3, 7)')

// Random.range( start, stop, step )
Random.range(1, 10, 2)
Random.range(1, 10, 3)

Mock.mock('@range(1, 10, 2)')
Mock.mock('@range(1, 10, 3)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.range( stop )
[0,1,2,3,4,5,6,7,8,9]
[0,1,2,3,4,5,6,7,8,9]

// Random.range( start, stop )
[3,4,5,6]
[3,4,5,6]

// Random.range( start, stop, step )
[1,3,5,7,9]
[1,4,7]

[1,3,5,7,9]
[1,4,7]</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Date">Date</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.date( format? )"><code>Random.date( format? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.date()
Random.date()
Mock.mock('@date')
Mock.mock('@date()')

// Random.date( format )
Random.date('yyyy-MM-dd')
Random.date('yy-MM-dd')
Random.date('y-MM-dd')
Random.date('y-M-d')

Mock.mock('@date("yyyy-MM-dd")')
Mock.mock('@date("yy-MM-dd")')
Mock.mock('@date("y-MM-dd")')
Mock.mock('@date("y-M-d")')

Mock.mock('@date("yyyy yy y MM M dd d")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.date()
"1982-01-24"
"1995-08-13"
"2003-06-29"

// Random.date( format )
"2005-01-02"
"73-11-24"
"82-04-17"
"13-3-28"

"1996-06-08"
"05-08-21"
"84-07-07"
"14-6-27"

"1999 99 99 10 10 01 1"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.time( format? )"><code>Random.time( format? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.time()
Random.time()
Mock.mock('@time')
Mock.mock('@time()')

// Random.time( format )
Random.time('A HH:mm:ss')
Random.time('a HH:mm:ss')
Random.time('HH:mm:ss')
Random.time('H:m:s')

Mock.mock('@time("A HH:mm:ss")')
Mock.mock('@time("a HH:mm:ss")')
Mock.mock('@time("HH:mm:ss")')
Mock.mock('@time("H:m:s")')

Mock.mock('@datetime("HH H hh h mm m ss s SS S A a T")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.time()
"19:02:55"
"01:24:27"
"13:49:41"

// Random.time( format )
"AM 11:44:20"
"am 04:49:27"
"16:46:01"
"4:1:39"

"AM 06:13:51"
"am 00:19:55"
"15:36:41"
"9:41:30"

"12 12 00 0 24 24 17 17 455 455 PM pm 152079857455"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.datetime( format? )"><code>Random.datetime( format? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.datetime()
Random.datetime()
Mock.mock('@datetime')
Mock.mock('@datetime()')

// Random.datetime( format )
Random.datetime('yyyy-MM-dd A HH:mm:ss')
Random.datetime('yy-MM-dd a HH:mm:ss')
Random.datetime('y-MM-dd HH:mm:ss')
Random.datetime('y-M-d H:m:s')

Mock.mock('@datetime("yyyy-MM-dd A HH:mm:ss")')
Mock.mock('@datetime("yy-MM-dd a HH:mm:ss")')
Mock.mock('@datetime("y-MM-dd HH:mm:ss")')
Mock.mock('@datetime("y-M-d H:m:s")')

Mock.mock('@datetime("yyyy yy y MM M dd d HH H hh h mm m ss s SS S A a T")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.datetime()
"2001-05-21 14:14:56"
"2004-11-16 03:27:58"
"1977-05-22 05:44:50"

// Random.datetime( format )
"1994-09-24 AM 02:53:03"
"17-06-09 am 07:05:53"
"80-04-20 03:49:51"
"90-6-11 1:34:46"

"2007-04-08 AM 06:54:05"
"89-05-13 pm 18:56:07"
"06-02-23 20:15:30"
"70-6-22 9:47:11"

"2016 16 16 09 9 06 6 01 1 01 1 30 30 08 8 812 812 AM am 1473096608812"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.now( unit?, format? )"><code>Random.now( unit?, format? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Ranndom.now()
Random.now()
Mock.mock('@now')
Mock.mock('@now()')

// Ranndom.now( unit )
Random.now('year')
Random.now('month')
Random.now('week')
Random.now('day')
Random.now('hour')
Random.now('minute')
Random.now('second')

// Ranndom.now( format )
Random.now('yyyy-MM-dd HH:mm:ss SS')

// Ranndom.now( unit, format )
Random.now('day', 'yyyy-MM-dd HH:mm:ss SS')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Ranndom.now()
"2019-11-05 11:30:46"
"2019-11-05 11:30:46"
"2019-11-05 11:30:46"

// Ranndom.now( unit )
"2019-01-01 00:00:00"
"2019-11-01 00:00:00"
"2019-11-03 00:00:00"
"2019-11-05 00:00:00"
"2019-11-05 11:00:00"
"2019-11-05 11:30:00"
"2019-11-05 11:30:46"

// Ranndom.now( format )
"2019-11-05 11:30:46 261"

// Ranndom.now( unit, format )
"2019-11-05 00:00:00 000"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Image">Image</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.image( size?, background?, foreground?, format?, text? )"><code>Random.image( size?, background?, foreground?, format?, text? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.image()
Random.image()
// Random.image( size )
Random.image('200x100')
// Random.image( size, background )
Random.image('200x100', '#FF6600')
// Random.image( size, background, text )
Random.image('200x100', '#4A7BF7', 'Hello')
// Random.image( size, background, foreground, text )
Random.image('200x100', '#50B347', '#FFF', 'Mock.js')
// Random.image( size, background, foreground, format, text )
Random.image('200x100', '#894FC4', '#FFF', 'png', '!')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>                                            <img class="mb10 mr10" src="./Mock.js_files/125x125"><img class="mb10 mr10" src="./Mock.js_files/200x100"><img class="mb10 mr10" src="./Mock.js_files/FF6600"><img class="mb10 mr10" src="./Mock.js_files/4A7BF7&amp;text=Hello"><img class="mb10 mr10" src="./Mock.js_files/FFF&amp;text=Mock.js.下载"><img class="mb10 mr10" src="./Mock.js_files/FFF.png&amp;text=!">                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.dataImage( size?, text? )"><code>Random.dataImage( size?, text? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.dataImage()
Random.dataImage()

// Random.dataImage( size )
Random.dataImage('200x100')

// Random.dataImage( size, text )
Random.dataImage('200x100', 'Hello Mock.js!')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>                                            <img class="mb10 mr10" src=""><img class="mb10 mr10" src=""><img class="mb10 mr10" src="">                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Color">Color</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.color()"><code>Random.color()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.color()
Random.color()
Mock.mock('@color')
Mock.mock('@color()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.color()
"#c879f2"
"#79f2a5"
"#f28279"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.hex()"><code>Random.hex()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.hex()
Random.hex()
Mock.mock('@hex')
Mock.mock('@hex()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.hex()
"#7993f2"
"#b6f279"
"#f279da"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.rgb()"><code>Random.rgb()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.rgb()
Random.rgb()
Mock.mock('@rgb')
Mock.mock('@rgb()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.rgb()
"rgb(121, 242, 231)"
"rgb(242, 195, 121)"
"rgb(160, 121, 242)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.rgba()"><code>Random.rgba()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.rgba()
Random.rgba()
Mock.mock('@rgba')
Mock.mock('@rgba()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.rgba()
"rgba(121, 242, 125, 0.60)"
"rgba(242, 121, 152, 0.38)"
"rgba(121, 187, 242, 0.37)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.hsl()"><code>Random.hsl()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.hsl()
Random.hsl()
Mock.mock('@hsl')
Mock.mock('@hsl()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.hsl()
"hsl(69, 82, 71)"
"hsl(291, 82, 71)"
"hsl(154, 82, 71)"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Text">Text</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.paragraph( min?, max? )"><code>Random.paragraph( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.paragraph()
Random.paragraph()

Mock.mock('@paragraph')

Mock.mock('@paragraph()')

// Random.paragraph( len )
Random.paragraph(2)

Mock.mock('@paragraph(2)')

// Random.paragraph( min, max )
Random.paragraph(1, 3)

Mock.mock('@paragraph(1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.paragraph()
"Vwajn hjrwjqjj dvs jueke bcrv tngdndu rrysx qnuunwtu uclpr evtk ywap nmvlubof onptuoq zmhwqw jvhhvuup tgv. Jmhb mlv vbz pydwse abewsfom mvvmrhh vvfjq cznyiim ugvmgq eilw wnfqait vzrrkslb. Oybwzudhgo qsbuveywv jmqkgdqw ntkyv eonitneby belu rozfkrgkmf jjjt ejawsdd ochn evaq ytcu hxnxbb jsiylvrho rriv etd xwtgl. Unkku gxmqwixf dsvrdnkqq hbkwiiqig dpwqc oncm dpho kykrvt wkdrrmggsp yhggnpm buftqwt ejf. Yzfevs kfioyfxhk cuhl ocmto fotgiltwl mnmcxvr gixl ivxytwpxx cmcc neprui qjppoa xxvvndn huxvcyun tbojl vybcl eku sdnijk. Rgxr pxmcq edddxcq chkotso vglq kgtlhckv ilimw orefjbql nsgot fxkjx lvbwpsmv htycezoq ykobybhgbt oiofjodtx wcvit jihxsyy yvqtvam wxxs."

"Cfs cqoreljci ngt cndexxgxl ppaqugngq kqgkqhasu pgrjj khjf ontphus gzm wxblixh ggkcdcmog yjrr hhxxh evkwhuju vhjhb. Custihy rblfe fert jiqhadz hnwxffroh pnjrmkz nuic mzjeqxoc rotbhhv yoqexprncq uysdehxf tpeyp xfgrx qmpzfm ruubib eyjkp slbcf. Imjojfr laks oojiscsc rcolvuaxg jdvtmmb grvxg kqvubyzlyj ippzequo nvumqf cyvfw ywuoggfv bxtd ntgypq zukeq fimr byvgyfsm. Cafpql fwdtdq lowwlqwrg tmxrcq hepvhmx zqph krwmw bnfdqjwm exguwrhk rbpqwjc adhyzew krprwbk ggdgwwqhv."

"Kngq hjngnqu sxhbqg khrhlixz tumimly nqoduc qiuuhs jgqey pjgspxer yeytjdhb uwlyckmzqz zyfvgctx. Ahrbqwu xjahmwdlbb enhiqq lgkczujc wexgtzfsdz szfps ujam ejunvwkwy cjpswpor nwjeu jwteoq cdzujobmqg jnfkig orfrpbbdku wwdbns. Brgwiwbkj tvngwgfrs elfhqvldrj miqbhikxq llsoik jnuimffpi hnicvob bamzxkaq rfjqeey nypsp lxjrfvryt pinu gfuaouch yprqeb ujopit ywbrky. Smhujfje dic nxiu xxfwx fudedmq qsqmvvo hvcxzbp sdypw elxxuzam peqiwefnxx odcn kkskfn. Ezbozxxs ochnljtj ipxxh icludlpm bnihw mcjctrf kyixipt xndpqti gpmfw gmwurlg nbk fmvjhyivo ezklwnutjl xhkmbewag."

// Random.paragraph( len )
"Ouxhh jqzlgvo wrn xszjjfq iyawyrohj cot jsxlejhf inqpxh etepza dcwx qtvavbwbp ljwvp yxyojiw epgn xockj yepn oxns. Sneask vexeitlpl bvdqx sdgnjx trrvggkmeq arllgwhq dteiiy xcvtgmo flg yvnr oelb daxpjp zfuoqmmhst."

"Axbhxwvrna ryqc slhstsoyfc shmnyhte hhke gmcnwuyq rwnv kmhqcdqem yjemrp dbohqtrx qakwqnjfge shufjctruj kvwk gkhdjvjoi uxfww nwnfy qcxwe. Oqtufvttq vrpew xdnutzomm vnubi mubqb xkaqdex ksy uzvs ocnfk jyh bsqay zvoteudv frwm etqqypv pytccn flywprbw pkfvlt."

// Random.paragraph( min, max )
"Ypkeg meppzfh uqjmaw ctxulseco zbvydlf fkxv psnqdvep iilyke yavwz bnpk wuvmggddq qgrkhle jvfvg miyxl xnpmi."

"Faylsulo eetiohhm otv kbbbbbx nibqijvwi qlgrnrnji kkrovhq xohvr qudd bxgc wigov euxqatw sbyazn koujgguqi. Mymvenqos cehig ephlxc rmllozx ylwltomluj gnyb ztwbwx ovmski gysi litoxicdc hointjn dfbpk jbupg njirszb."
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.sentence( min?, max? )"><code>Random.sentence( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.sentence()
Random.sentence()
Mock.mock('@sentence')
Mock.mock('@sentence()')

// Random.sentence( len )
Random.sentence(5)
Mock.mock('@sentence(5)')

// Random.sentence( min, max )
Random.sentence(3, 5)
Mock.mock('@sentence(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.sentence()
"Pwxbnkwgp dxl uulnkq yhlrwivd ztfdvvjh dejyqct geecgf oqzt xrzfvbwb ukxtpjevv frbfwmtxq rbjyr hppsfu."
"Hqmxsi gxrnpgmyk zlcbmckgj vtp yvltlgyu cxlqy vweoomb ctjt eyrmkskkeb bykskls rrtls wxajj fnlcypyzi fnotuom utkrynpkmg ftvvgs."
"Kqdl uuwrsqnt ekeqw ldyghefc ruqlpxbrm pgsq utkgzb jlclz gtytcjijx tdevx xdhi mmvjuljlt biu."

// Random.sentence( len )
"Uytybbl ooaxzos vmf jytxrep yptpjoy."
"Squbm xkabviik rcdnw qhvfzpcs pbbuwwmkx."

// Random.sentence( min, max )
"Yjle qgnbrtxrcn rpunv."
"Sfstf dmouuuksay mqmuj lpafnkrmw riks."
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.word( min?, max? )"><code>Random.word( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.word()
Random.word()
Mock.mock('@word')
Mock.mock('@word()')

// Random.word( len )
Random.word(5)
Mock.mock('@word(5)')

// Random.word( min, max )
Random.word(3, 5)
Mock.mock('@word(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.word()
"oaulkwlv"
"qvysrrrs"
"jbpjc"

// Random.word( len )
"jljhq"
"qqqvi"

// Random.word( min, max )
"gcxc"
"cgvo"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.title( min?, max? )"><code>Random.title( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.title()
Random.title()
Mock.mock('@title')
Mock.mock('@title()')

// Random.title( len )
Random.title(5)
Mock.mock('@title(5)')

// Random.title( min, max )
Random.title(3, 5)
Mock.mock('@title(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.title()
"Apaief Mstyi Kemd Vvmcmv Unuqlho"
"Tqj Ecjjh Qkcj Qoc"
"Gao Scjj Jvkboc Pllqnktey Nryyk Mfnvoe"

// Random.title( len )
"Tprapj Ysuyp Qyqrr Gyr Zexnxkf"
"Wnl Xgszeghm Bjczf Xmwutovlx Eezwh"

// Random.title( min, max )
"Diqmnmjs Igbuqnsr Qypgj Gphbzyno Bhywol"
"Ohtrp Qadker Cjj"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cparagraph( min?, max? )"><code>Random.cparagraph( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cparagraph()
Random.cparagraph()

Mock.mock('@cparagraph')

Mock.mock('@cparagraph()')

// Random.cparagraph( len )
Random.cparagraph(2)

Mock.mock('@cparagraph(2)')

// Random.cparagraph( min, max )
Random.cparagraph(1, 3)

Mock.mock('@cparagraph(1, 3)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cparagraph()
"报几天热意月处者积头拉实文白说学他太。品与标改题世非说型名成加来务。你种研出育上东长经表全回存提识济你。华们相准式听东思处着你百里之它。化油本类选据取或约能率单。局快较身理压国至每如局口千备种得。"

"基太会自话示拉过且回没手查点道。九道形各路政两义路风式资员达八能界。要么引然它的按况等把准验又确所位原。花众行况处看始科写空亲或张。名术府书压很与论经角期得比最阶千非。完样部史学叫新影心查入听。"

"被发有意包图青理所验不长了花应。运所次目部去济调们准次往情管义发。四安术其断史治方眼车观片约构。比容圆整科也且治感劳提根代则。形九义定象业形总能是阶了需。百期要众式京深声后展近二非众。"

// Random.cparagraph( len )
"文百形那第片和知义料经行山指儿式加。单五结住情事术争基易类清单族。"

"意但住单条老群装因她难积实水。入安强就委教治还易不九队专每该。"

// Random.cparagraph( min, max )
"线并象目命却此山九过场行。处拉保非道每养界心全始支会。运取学热们场东格保斗正金素引农做习。"

"增国们达完来每平法情往过段般持心。和经快代步能步线京车书设利。节应得适国际从制复身北是。"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.csentence( min?, max? )"><code>Random.csentence( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.csentence()
Random.csentence()
Mock.mock('@csentence')
Mock.mock('@csentence()')

// Random.csentence( len )
Random.csentence(5)
Mock.mock('@csentence(5)')

// Random.csentence( min, max )
Random.csentence(3, 5)
Mock.mock('@csentence(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.csentence()
"从精东交叫种单资见民准此。"
"风老容品马行程二利今越意器复。"
"形根利证本越国大常共题深北正领社两。"

// Random.csentence( len )
"所等开题支。"
"科度是新属。"

// Random.csentence( min, max )
"圆层到金。"
"业有且到。"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cword( pool?, min?, max? )"><code>Random.cword( pool?, min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cword()
Random.cword()
Mock.mock('@cword')
Mock.mock('@cword()')

// Random.cword( pool )
Random.cword('零一二三四五六七八九十')
Mock.mock('@cword("零一二三四五六七八九十")')

// Random.cword( length )
Random.cword(3)
Mock.mock('@cword(3)')

// Random.cword( pool, length )
Random.cword('零一二三四五六七八九十', 3)
Mock.mock('@cword("零一二三四五六七八九十", 3)')

// Random.cword( min, max )
Random.cword(3, 5)
Mock.mock('@cword(3, 5)')

// Random.cword( pool, min, max )
Random.cword('零一二三四五六七八九十', 5, 7)
Mock.mock('@cword("零一二三四五六七八九十", 5, 7)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cword()
"能"
"织"
"去"

// Random.cword( pool )
"九"
"三"

// Random.cword( length )
"厂后任"
"任无主"

// Random.cword( pool, length )
"九二二"
"八四零"

// Random.cword( min, max )
"看六开正"
"该又造用"

// Random.cword( pool, min, max )
"四九零六一四九"
"五七八五八十"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.ctitle( min?, max? )"><code>Random.ctitle( min?, max? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.ctitle()
Random.ctitle()
Mock.mock('@ctitle')
Mock.mock('@ctitle()')

// Random.ctitle( len )
Random.ctitle(5)
Mock.mock('@ctitle(5)')

// Random.ctitle( min, max )
Random.ctitle(3, 5)
Mock.mock('@ctitle(3, 5)')
</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.ctitle()
"价收海动办"
"族民子反高"
"来还反期山"

// Random.ctitle( len )
"内就市车规"
"构总变队书"

// Random.ctitle( min, max )
"将提住年"
"治性院列"
</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Name">Name</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.first()"><code>Random.first()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.first()
Random.first()
Mock.mock('@first')
Mock.mock('@first()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.first()
"Karen"
"Jeffrey"
"Sandra"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.last()"><code>Random.last()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.last()
Random.last()
Mock.mock('@last')
Mock.mock('@last()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.last()
"Martin"
"Johnson"
"Davis"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.name( middle? )"><code>Random.name( middle? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.name()
Random.name()
Mock.mock('@name')
Mock.mock('@name()')

// Random.name( middle )
Random.name(true)
Mock.mock('@name(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.name()
"Paul Williams"
"Susan Hall"
"Robert Walker"

// Random.name( middle )
"Richard Ronald Lewis"
"Angela Gary Jones"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cfirst()"><code>Random.cfirst()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cfirst()
Random.cfirst()
Mock.mock('@cfirst')
Mock.mock('@cfirst()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cfirst()
"萧"
"汪"
"周"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.clast()"><code>Random.clast()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.clast()
Random.clast()
Mock.mock('@clast')
Mock.mock('@clast()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.clast()
"磊"
"娟"
"平"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.cname()"><code>Random.cname()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.cname()
Random.cname()
Mock.mock('@cname')
Mock.mock('@cname()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.cname()
"孔艳"
"江敏"
"贺艳"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Web">Web</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.url()"><code>Random.url()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.url()
Random.url()
Mock.mock('@url')
Mock.mock('@url()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.url()
"nntp://mey.sc/kdtwsboh"
"mid://jttsxryeql.as/cklrcd"
"ftp://ruykuyirb.it/nwmkuj"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.domain()"><code>Random.domain()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.domain()
Random.domain()
Mock.mock('@domain')
Mock.mock('@domain()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.domain()
"ivcj.fj"
"krjl.sb"
"ihvnu.fj"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.protocol()"><code>Random.protocol()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.protocol()
Random.protocol()
Mock.mock('@protocol')
Mock.mock('@protocol()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.protocol()
"gopher"
"http"
"wais"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.tld()"><code>Random.tld()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.tld()
Random.tld()
Mock.mock('@tld')
Mock.mock('@tld()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.tld()
"mobi"
"gp"
"tc"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.email()"><code>Random.email()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.email()
Random.email()
Mock.mock('@email')
Mock.mock('@email()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.email()
"t.ifxgkncsc@hoqphttne.ag"
"e.flxg@igrnbil.do"
"v.tclfg@koh.tt"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.ip()"><code>Random.ip()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.ip()
Random.ip()
Mock.mock('@ip')
Mock.mock('@ip()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.ip()
"171.123.81.70"
"119.91.56.187"
"11.88.242.124"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Address">Address</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.region()"><code>Random.region()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.region()
Random.region()
Mock.mock('@region')
Mock.mock('@region()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.region()
"华东"
"华北"
"华中"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.province()"><code>Random.province()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.province()
Random.province()
Mock.mock('@province')
Mock.mock('@province()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.province()
"江苏省"
"上海"
"福建省"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.city( prefix? )"><code>Random.city( prefix? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.city()
Random.city()
Mock.mock('@city')
Mock.mock('@city()')
// Random.city( prefix )
Random.city(true)
Mock.mock('@city(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.city()
"庆阳市"
"蚌埠市"
"临沂市"
// Random.city( prefix )
"青海省 海北藏族自治州"
"澳门特别行政区 澳门半岛"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.county( prefix? )"><code>Random.county( prefix? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.county()
Random.county()
Mock.mock('@county')
Mock.mock('@county()')
// Random.county( prefix )
Random.county(true)
Mock.mock('@county(true)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.county()
"深水埗区"
"洮南市"
"普陀区"
// Random.county( prefix )
"四川省 泸州市 合江县"
"江苏省 镇江市 京口区"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.zip()"><code>Random.zip()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.zip()
Random.zip()
Mock.mock('@zip')
Mock.mock('@zip()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.zip()
"632593"
"475813"
"233550"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Helper">Helper</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.capitalize( word )"><code>Random.capitalize( word )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.capitalize( word )
Random.capitalize('hello')
Mock.mock('@capitalize("hello")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.capitalize( word )
"Hello"
"Hello"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.upper( str )"><code>Random.upper( str )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.upper( str )
Random.upper('hello')
Mock.mock('@upper("hello")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.upper( str )
"HELLO"
"HELLO"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.lower( str )"><code>Random.lower( str )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.lower( str )
Random.lower('HELLO')
Mock.mock('@lower("HELLO")')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.lower( str )
"hello"
"hello"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.pick( arr )"><code>Random.pick( arr )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.pick( arr )
Random.pick(['a', 'e', 'i', 'o', 'u'])
Mock.mock('@pick(["a", "e", "i", "o", "u"])')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.pick( arr )
"o"
"i"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.shuffle( arr )"><code>Random.shuffle( arr )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.shuffle( arr )
Random.shuffle(['a', 'e', 'i', 'o', 'u'])
Mock.mock('@shuffle(["a", "e", "i", "o", "u"])')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.shuffle( arr )
["e","o","i","a","u"]
["u","i","o","e","a"]</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div><div class="mb20">
                        <div class="fontsize-16 mb20" id="Miscellaneous">Miscellaneous</div>
                        <div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.guid()"><code>Random.guid()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.guid()
Random.guid()
Mock.mock('@guid')
Mock.mock('@guid()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.guid()
"E4BBd7bf-E3A7-CafC-563A-DA63aBD0bd8A"
"952EC4d5-F6Be-dA17-F9bd-F1Eed97CD4Aa"
"f7Af3cF8-88A6-9b7A-1e9D-eF4E7FF9C82b"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.id()"><code>Random.id()</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.id()
Random.id()
Mock.mock('@id')
Mock.mock('@id()')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.id()
"410000199607142142"
"540000201311276861"
"640000201511158003"</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div><div class="mb20">
                            <div class="fontsize-14 mb20" id="Random.increment( step? )"><code>Random.increment( step? )</code></div>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="code">
                                        <span class="badge">Data Template</span>
                                        <pre><code class="javascript">// Random.increment()
Random.increment()
Mock.mock('@increment')
Mock.mock('@increment()')

// Random.increment( step )
Random.increment(100)
Mock.mock('@increment(100)')
Random.increment(1000)
Mock.mock('@increment(1000)')</code></pre>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="result">
                                        <span class="badge">Result</span>
                                        <div>
                                            <pre><code class="javascript">// Random.increment()
1
2
3

// Random.increment( step )
103
203
1203
2203</code></pre>
                                            <a href="javascript:;" class="mockicon rerun"></a>
                                        </div>
                                        
                                        <a href="javascript:;" class="mockicon rerun"></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div></div>
   
    <script>
        // require(['./assets/js/test.dtd'])
        // require(['./assets/js/test.dpd'])
        // require(['./assets/js/examples'])
    </script>

</body></html>
